﻿using System;
using System.ServiceModel;

namespace Server
{
    [ServiceContract]
    public interface IOperationExecutor
    {
        [OperationContract]
        Int32 Sum(Int32 first, Int32 second);
    }

    public class OperationExecutor : IOperationExecutor
    {
        public Int32 Sum(Int32 first, Int32 second)
        {
            return first + second;
        }
    }
}